package com.iplay.dahua.chapter2.strategy;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;

import java.util.Date;

/**
 * @author dangwu
 * @since 2021/7/21 3:41 下午
 */
public class TestStrategy {
    public static void main(String[] args) {
        Strategy strategy = new ConcreteStrategyA();
        Context context = new Context(strategy);
        context.contextInterface();
        DateTime dateTime = DateUtil.offsetDay(new Date(), 1);
        System.out.println(dateTime);
        System.out.println(new Date());
        boolean b = false;
        Boolean bl = Boolean.valueOf(b);
    }
}
